package com.gentle.contorller;

import com.gentle.common.core.domain.AjaxResult;
import com.gentle.common.core.domain.entity.SysDept;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

/**
 * @author xnhe
 * @version 1.0
 * @description: TODO 测试接口
 * @date 2024-12-10
 */
@RestController
@Api("登陆接口")
@RequestMapping("/interface/test")
public class TestContorller {

    /**
     * 接口测试信息
     */
//    @PreAuthorize("@ss.hasPermi('system:dept:list')")
    @GetMapping("/demo")
    @ApiOperation("测试接口")
    public AjaxResult demo(SysDept dept)
    {
        List<SysDept> depts = new ArrayList();
        depts.add(dept);
        return null;
    }


}
